package com.ruoyi.wgy.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 活动管理对象 active
 * 
 * @author wgy
 * @date 2025-06-05
 */
public class Active extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键（唯一标识，建议使用UUID或雪花ID） */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 关联用户ID/模块ID（根据业务场景定义） */
    @Excel(name = "关联用户ID/模块ID", readConverterExp = "根=据业务场景定义")
    private String mid;

    /** 创建时间/起始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间/起始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 图片地址（存储URL或文件路径） */
    @Excel(name = "图片地址", readConverterExp = "存=储URL或文件路径")
    private String img;

    /** 内容详情（大文本字段） */
    @Excel(name = "内容详情", readConverterExp = "大=文本字段")
    private String content;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 联系电话（建议使用CHAR类型固定长度） */
    @Excel(name = "联系电话", readConverterExp = "建=议使用CHAR类型固定长度")
    private String telephone;

    /** 数量/次数（初始值为0） */
    @Excel(name = "数量/次数", readConverterExp = "初=始值为0")
    private Long num;

    /** 发送状态（0=未发送，1=已发送，2=发送失败） */
    @Excel(name = "发送状态", readConverterExp = "0==未发送，1=已发送，2=发送失败")
    private Long sendStatus;

    /** 审核状态（0=未审核，1=审核通过，2=审核不通过） */
    @Excel(name = "审核状态", readConverterExp = "0==未审核，1=审核通过，2=审核不通过")
    private Long shenheStatus;

    /** 数据状态（0=正常，1=已删除，2=禁用） */
    @Excel(name = "数据状态", readConverterExp = "0==正常，1=已删除，2=禁用")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setMid(String mid) 
    {
        this.mid = mid;
    }

    public String getMid() 
    {
        return mid;
    }

    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }

    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }

    public void setSendStatus(Long sendStatus) 
    {
        this.sendStatus = sendStatus;
    }

    public Long getSendStatus() 
    {
        return sendStatus;
    }

    public void setShenheStatus(Long shenheStatus) 
    {
        this.shenheStatus = shenheStatus;
    }

    public Long getShenheStatus() 
    {
        return shenheStatus;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("mid", getMid())
            .append("time", getTime())
            .append("img", getImg())
            .append("content", getContent())
            .append("endTime", getEndTime())
            .append("telephone", getTelephone())
            .append("num", getNum())
            .append("sendStatus", getSendStatus())
            .append("shenheStatus", getShenheStatus())
            .append("status", getStatus())
            .toString();
    }
}
